package com.cf.producer.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;
import java.util.UUID;

/**
 * boot-cloud-UploadController
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/7/20 上午 11:15
 */
@RestController
public class TcController {

    @PostMapping(value = "/tc")
    public String tc(@RequestBody Map map) {
        System.out.println(map);
        return UUID.randomUUID().toString();
    }

}
